package ynu.lcy.dao;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import ynu.lcy.entity.DeliveryAddress;

import java.util.List;

@Repository
public interface IDeliveryAddressDao extends JpaRepository<DeliveryAddress, Long> {
    List<DeliveryAddress> findAllByUserId(Long userId);
}
